package com.imooc.pan.server.modules.file.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author hhb
 * @data 2024/6/8 16:24
 */
@Data
@ApiModel("创建文件夹参数")
public class CreateFolderPO implements Serializable {

    @ApiModelProperty(value = "父文件夹id",required = true)
    @NotBlank(message = "父文件夹id不能为空")
    private String parentId;


    @ApiModelProperty(value = "文件夹名称",required = true)
    @NotBlank(message = "文件夹名称不能为空")
    private String folderName;
}
